package me.zhengjie.modules.pay.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class ProductDTO {

    @ApiModelProperty(value = "商品id")
    private Long pId;

    @NotNull
    @ApiModelProperty(value = "商品种类id")
    private Long kId;

    @ApiModelProperty(value = "商品名称")
    private String name;

    @ApiModelProperty(value = "数量")
    private Integer num;

}
